import os
import xml.etree.ElementTree as ET


def set_data(self, file_in_path, file_out_path, store_id):
    tree = ET.parse(file_in_path)
    root = tree.getroot()
    for item in root.iter("FILIALE"):
        item.text = str(store_id)
    tree.write(file_out_path, encoding='UTF-8')


if __name__ == '__main__':
    set_storeID(100)